\hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay}{}\section{com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Poi\+Overlay类 参考}
\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay}\index{com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}}


类 com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Poi\+Overlay 继承关系图\+:
% FIG 0


com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Poi\+Overlay 的协作图\+:
% FIG 1
\subsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_aac75a0e6f7786fe6de7eae966787d14e}{Poi\+Overlay}} (Baidu\+Map baidu\+Map)
\item 
void \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a6867ec21c705a2cb05cf99378402b58b}{set\+Data}} (Poi\+Result poi\+Result)
\item 
final List$<$ Overlay\+Options $>$ \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a11b328621378f3617b3bec637d284a2f}{get\+Overlay\+Options}} ()
\item 
Poi\+Result \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_ac4ae0ea6ded3c43fd21afed706061bf8}{get\+Poi\+Result}} ()
\item 
boolean \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a2b20299ed0649e62a0b97c53ad3638d1}{on\+Poi\+Click}} (int i)
\item 
final boolean \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a9e797b399728e7320fe29c34bc19596f}{on\+Marker\+Click}} (Marker marker)
\item 
boolean \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_aaab0bd244021417fc0dd341369212bca}{on\+Polyline\+Click}} (Polyline polyline)
\end{DoxyCompactItemize}
\subsection*{Private 属性}
\begin{DoxyCompactItemize}
\item 
Poi\+Result \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a4d22b5d6a87e19a01cf6b754da20abc9}{m\+Poi\+Result}} = null
\end{DoxyCompactItemize}
\subsection*{静态 Private 属性}
\begin{DoxyCompactItemize}
\item 
static final int \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a0cabe0f660cf19ea4b449101abb76ad2}{M\+A\+X\+\_\+\+P\+O\+I\+\_\+\+S\+I\+ZE}} = 10
\end{DoxyCompactItemize}
\subsection*{额外继承的成员函数}


\subsection{详细描述}
用于显示poi的overly 

\subsection{构造及析构函数说明}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_aac75a0e6f7786fe6de7eae966787d14e}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_aac75a0e6f7786fe6de7eae966787d14e}} 
\index{com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}!PoiOverlay@{PoiOverlay}}
\index{PoiOverlay@{PoiOverlay}!com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}}
\subsubsection{\texorpdfstring{PoiOverlay()}{PoiOverlay()}}
{\footnotesize\ttfamily com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Poi\+Overlay.\+Poi\+Overlay (\begin{DoxyParamCaption}\item[{Baidu\+Map}]{baidu\+Map }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

构造函数


\begin{DoxyParams}{参数}
{\em baidu\+Map} & 该 \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay}{Poi\+Overlay}} 引用的 Baidu\+Map 对象 \\
\hline
\end{DoxyParams}


\subsection{成员函数说明}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a11b328621378f3617b3bec637d284a2f}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a11b328621378f3617b3bec637d284a2f}} 
\index{com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}!getOverlayOptions@{getOverlayOptions}}
\index{getOverlayOptions@{getOverlayOptions}!com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}}
\subsubsection{\texorpdfstring{getOverlayOptions()}{getOverlayOptions()}}
{\footnotesize\ttfamily final List$<$Overlay\+Options$>$ com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Poi\+Overlay.\+get\+Overlay\+Options (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_ac4ae0ea6ded3c43fd21afed706061bf8}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_ac4ae0ea6ded3c43fd21afed706061bf8}} 
\index{com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}!getPoiResult@{getPoiResult}}
\index{getPoiResult@{getPoiResult}!com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}}
\subsubsection{\texorpdfstring{getPoiResult()}{getPoiResult()}}
{\footnotesize\ttfamily Poi\+Result com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Poi\+Overlay.\+get\+Poi\+Result (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

获取该 \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay}{Poi\+Overlay}} 的 poi数据

\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a9e797b399728e7320fe29c34bc19596f}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a9e797b399728e7320fe29c34bc19596f}} 
\index{com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}!onMarkerClick@{onMarkerClick}}
\index{onMarkerClick@{onMarkerClick}!com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}}
\subsubsection{\texorpdfstring{onMarkerClick()}{onMarkerClick()}}
{\footnotesize\ttfamily final boolean com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Poi\+Overlay.\+on\+Marker\+Click (\begin{DoxyParamCaption}\item[{Marker}]{marker }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a2b20299ed0649e62a0b97c53ad3638d1}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a2b20299ed0649e62a0b97c53ad3638d1}} 
\index{com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}!onPoiClick@{onPoiClick}}
\index{onPoiClick@{onPoiClick}!com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}}
\subsubsection{\texorpdfstring{onPoiClick()}{onPoiClick()}}
{\footnotesize\ttfamily boolean com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Poi\+Overlay.\+on\+Poi\+Click (\begin{DoxyParamCaption}\item[{int}]{i }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

覆写此方法以改变默认点击行为


\begin{DoxyParams}{参数}
{\em i} & 被点击的poi在 \mbox{\hyperlink{}{com.\+baidu.\+mapapi.\+search.\+poi.\+Poi\+Result\#get\+All\+Poi()}} 中的索引 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_aaab0bd244021417fc0dd341369212bca}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_aaab0bd244021417fc0dd341369212bca}} 
\index{com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}!onPolylineClick@{onPolylineClick}}
\index{onPolylineClick@{onPolylineClick}!com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}}
\subsubsection{\texorpdfstring{onPolylineClick()}{onPolylineClick()}}
{\footnotesize\ttfamily boolean com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Poi\+Overlay.\+on\+Polyline\+Click (\begin{DoxyParamCaption}\item[{Polyline}]{polyline }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a6867ec21c705a2cb05cf99378402b58b}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a6867ec21c705a2cb05cf99378402b58b}} 
\index{com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}!setData@{setData}}
\index{setData@{setData}!com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}}
\subsubsection{\texorpdfstring{setData()}{setData()}}
{\footnotesize\ttfamily void com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Poi\+Overlay.\+set\+Data (\begin{DoxyParamCaption}\item[{Poi\+Result}]{poi\+Result }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

设置\+P\+O\+I数据


\begin{DoxyParams}{参数}
{\em poi\+Result} & 设置\+P\+O\+I数据 \\
\hline
\end{DoxyParams}


\subsection{类成员变量说明}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a0cabe0f660cf19ea4b449101abb76ad2}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a0cabe0f660cf19ea4b449101abb76ad2}} 
\index{com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}!MAX\_POI\_SIZE@{MAX\_POI\_SIZE}}
\index{MAX\_POI\_SIZE@{MAX\_POI\_SIZE}!com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}}
\subsubsection{\texorpdfstring{MAX\_POI\_SIZE}{MAX\_POI\_SIZE}}
{\footnotesize\ttfamily final int com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Poi\+Overlay.\+M\+A\+X\+\_\+\+P\+O\+I\+\_\+\+S\+I\+ZE = 10\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [private]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a4d22b5d6a87e19a01cf6b754da20abc9}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_poi_overlay_a4d22b5d6a87e19a01cf6b754da20abc9}} 
\index{com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}!mPoiResult@{mPoiResult}}
\index{mPoiResult@{mPoiResult}!com.example.akisame\_lin.love\_air2.utils.PoiOverlay@{com.example.akisame\_lin.love\_air2.utils.PoiOverlay}}
\subsubsection{\texorpdfstring{mPoiResult}{mPoiResult}}
{\footnotesize\ttfamily Poi\+Result com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Poi\+Overlay.\+m\+Poi\+Result = null\hspace{0.3cm}{\ttfamily [private]}}



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
app/src/main/java/com/example/akisame\+\_\+lin/love\+\_\+air2/utils/\mbox{\hyperlink{_poi_overlay_8java}{Poi\+Overlay.\+java}}\end{DoxyCompactItemize}
